package net.hn.hnms.biz.attendance.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName ods_iris_attend_record
 */
@TableName(value = "iris_attend_record")
@Data
public class OdsIrisAttendRecord implements Serializable {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     *
     */
    @ApiModelProperty(value = "姓名")
    private String personName;

    /**
     *
     */
    @ApiModelProperty(value = "工号")
    private String personNumber;

    /**
     *
     */
    @ApiModelProperty(value = "部门")
    private String departName;


    @ApiModelProperty(value = "签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recognizeTime;
    /**
     *
     */
    @ApiModelProperty(value = "机会")
    private String occasion;

    /**
     *
     */
    @ApiModelProperty(value = "签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    /**
     *
     */
    @ApiModelProperty(value = "签退时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     *
     */
    @ApiModelProperty(value = "工作时长")
    private Object workMinutes;

    /**
     *
     */
    @ApiModelProperty(value = "班制名称")
    private String shiftsName;

    /**
     *
     */
    @ApiModelProperty(value = "统计结果")
    private String shiftTypeName;

    /**
     *
     */
    @ApiModelProperty(value = "统计至")
    private String analyzeResult;

    /**
     * 统计至
     */
    @ApiModelProperty(value = "统计至")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date attendDate;

    /**
     *
     */
    @ApiModelProperty(value = "创建时间", hidden = true)
    @TableField(value = "create_time", fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}